500
|
How can I change the foreground color of the HTML text or caption of the bar in the chart

axGantt1.Columns.Add("Task");
axGantt1.Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
EXGANTTLib.Items var_Items = axGantt1.Items;
int h = var_Items.AddItem("Task 1");
var_Items.AddBar(h,"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/6/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K1",null);
var_Items.set_ItemBar(h,"K1",EXGANTTLib.ItemBarPropertyEnum.exBarCaption,"<bgcolor=FF0000> to do </bgcolor>");
var_Items.set_ItemBar(h,"K1",EXGANTTLib.ItemBarPropertyEnum.exBarForeColor,16777215);
|
499
|
How can I assign a tooltip to a bar in the chart

axGantt1.Columns.Add("Task");
axGantt1.Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
EXGANTTLib.Items var_Items = axGantt1.Items;
int h = var_Items.AddItem("Task 1");
var_Items.AddBar(h,"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K1",null);
var_Items.set_ItemBar(h,"K1",EXGANTTLib.ItemBarPropertyEnum.exBarToolTip,"This is a bit of text that's displayed when the cursor hovers the bar");
|
498
|
How can I vertically align the HTML text or caption of the bar in the chart

axGantt1.Columns.Add("Task");
axGantt1.Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
EXGANTTLib.Items var_Items = axGantt1.Items;
int h = var_Items.AddItem("Task 1");
var_Items.set_ItemHeight(h,32);
var_Items.AddBar(h,"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/6/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K1",null);
var_Items.set_ItemBar(h,"K1",EXGANTTLib.ItemBarPropertyEnum.exBarCaption,"<bgcolor=FF0000> to do </bgcolor>");
var_Items.set_ItemBar(h,"K1",EXGANTTLib.ItemBarPropertyEnum.exBarVAlignCaption,0);
|
497
|
How can I align the HTML text or caption of the bar in the chart

axGantt1.Columns.Add("Task");
axGantt1.Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
EXGANTTLib.Items var_Items = axGantt1.Items;
int h = var_Items.AddItem("Task 1");
var_Items.AddBar(h,"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/6/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K1",null);
var_Items.set_ItemBar(h,"K1",EXGANTTLib.ItemBarPropertyEnum.exBarCaption,"<bgcolor=FF0000> to do </bgcolor>");
var_Items.set_ItemBar(h,"K1",EXGANTTLib.ItemBarPropertyEnum.exBarHAlignCaption,0);
|
496
|
How can I assign a text or some HTML caption to a bar in the chart

axGantt1.Columns.Add("Task");
axGantt1.Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
EXGANTTLib.Items var_Items = axGantt1.Items;
int h = var_Items.AddItem("Task 1");
var_Items.AddBar(h,"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/6/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K1",null);
var_Items.set_ItemBar(h,"K1",EXGANTTLib.ItemBarPropertyEnum.exBarCaption," <bgcolor=FF0000>to do</bgcolor> ");
|
495
|
How can I change the ending date of the bar in the chart
axGantt1.Columns.Add("Task");
axGantt1.Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
EXGANTTLib.Items var_Items = axGantt1.Items;
int h = var_Items.AddItem("Task 1");
var_Items.AddBar(h,"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K1",null);
var_Items.set_ItemBar(h,"K1",EXGANTTLib.ItemBarPropertyEnum.exBarEnd,Convert.ToDateTime("1/6/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
|
494
|
How can I change the starting date of the bar in the chart
axGantt1.Columns.Add("Task");
axGantt1.Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
EXGANTTLib.Items var_Items = axGantt1.Items;
int h = var_Items.AddItem("Task 1");
var_Items.AddBar(h,"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K1",null);
var_Items.set_ItemBar(h,"K1",EXGANTTLib.ItemBarPropertyEnum.exBarStart,Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
|
493
|
How can I change the style or the name of the bar in the chart

axGantt1.Columns.Add("Task");
axGantt1.Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
EXGANTTLib.Items var_Items = axGantt1.Items;
int h = var_Items.AddItem("Task 1");
var_Items.AddBar(h,"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K1",null);
var_Items.set_ItemBar(h,"K1",EXGANTTLib.ItemBarPropertyEnum.exBarName,"Progress");
|
492
|
How can I access properties and methods of the bar in the chart
axGantt1.Columns.Add("Task");
axGantt1.Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
EXGANTTLib.Items var_Items = axGantt1.Items;
int h = var_Items.AddItem("Task 1");
var_Items.AddBar(h,"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K1",null);
var_Items.set_ItemBar(h,"K1",EXGANTTLib.ItemBarPropertyEnum.exBarName,"Progress");
|
491
|
How can I remove all bars in the item
axGantt1.Columns.Add("Task");
axGantt1.Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
EXGANTTLib.Items var_Items = axGantt1.Items;
int h = var_Items.AddItem("Task 1");
var_Items.AddBar(h,"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K1",null);
var_Items.ClearBars(h);
|
490
|
How can I remove a bar from the chart
axGantt1.Columns.Add("Task");
axGantt1.Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
EXGANTTLib.Items var_Items = axGantt1.Items;
int h = var_Items.AddItem("Task 1");
var_Items.AddBar(h,"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K1",null);
var_Items.RemoveBar(h,"K1");
|
489
|
How can I add a bar and some text inside, in the chart area

axGantt1.Columns.Add("Task");
axGantt1.Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
EXGANTTLib.Items var_Items = axGantt1.Items;
var_Items.AddBar(var_Items.AddItem("Task 1"),"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/6/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null," to do ");
|
488
|
How can I add a bar and some text inside, in the chart area

axGantt1.Columns.Add("Task");
axGantt1.Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
EXGANTTLib.Items var_Items = axGantt1.Items;
var_Items.AddBar(var_Items.AddItem("Task 1"),"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/6/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,"<bgcolor=FF0000> to do </bgcolor>");
|
487
|
How can I add an anchor or a hyperline in the chart area

axGantt1.Columns.Add("Task");
axGantt1.Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
EXGANTTLib.Items var_Items = axGantt1.Items;
var_Items.AddBar(var_Items.AddItem("Task 1"),"",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/14/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,"just a <a1>link</a>");
|
486
|
How can I add some text or captions in the chart area

axGantt1.Columns.Add("Task");
axGantt1.Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
EXGANTTLib.Items var_Items = axGantt1.Items;
var_Items.AddBar(var_Items.AddItem("Task 1"),"",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/14/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,"just a <b>caption</b>");
|
485
|
How can I add a bar in the chart area

axGantt1.Columns.Add("Task");
axGantt1.Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
EXGANTTLib.Items var_Items = axGantt1.Items;
var_Items.AddBar(var_Items.AddItem("Task 1"),"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
|
484
|
Is there any option to put a picture or an icon to the thumb part of the scroll bar

axGantt1.Images("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTq" +
"lVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m" +
"0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" +
"NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=");
axGantt1.set_ScrollPartCaption(EXGANTTLib.ScrollBarEnum.exHChartScroll,EXGANTTLib.ScrollPartEnum.exThumbPart,"<img>1</img>");
axGantt1.set_ScrollThumbSize(EXGANTTLib.ScrollBarEnum.exHChartScroll,24);
|
483
|
How can I scroll fast the chart, or page by page

axGantt1.Images("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTq" +
"lVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m" +
"0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" +
"NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=");
axGantt1.ScrollHeight = 20;
axGantt1.ScrollButtonWidth = 20;
axGantt1.AllowChartScrollPage = true;
axGantt1.set_ScrollPartCaption(EXGANTTLib.ScrollBarEnum.exHChartScroll,EXGANTTLib.ScrollPartEnum.exLeftB5Part,"<img>1</img>");
axGantt1.set_ScrollPartCaption(EXGANTTLib.ScrollBarEnum.exHChartScroll,EXGANTTLib.ScrollPartEnum.exRightB1Part,"<img>2</img>");
|
482
|
How can I scroll fast the chart, or page by page

axGantt1.ScrollButtonWidth = 16;
axGantt1.AllowChartScrollPage = true;
axGantt1.set_ScrollPartCaption(EXGANTTLib.ScrollBarEnum.exHChartScroll,EXGANTTLib.ScrollPartEnum.exLeftB5Part,"<<");
axGantt1.set_ScrollPartCaption(EXGANTTLib.ScrollBarEnum.exHChartScroll,EXGANTTLib.ScrollPartEnum.exRightB1Part,">>");
|
481
|
How can I scroll fast the chart, or page by page

axGantt1.AllowChartScrollPage = true;
|
480
|
How can I display years, from 3 to 3

axGantt1.Chart.UnitWidth = 64;
EXGANTTLib.Level var_Level = axGantt1.Chart.get_Level(0);
var_Level.Label = "<%yyyy%>";
var_Level.Unit = EXGANTTLib.UnitEnum.exYear;
var_Level.Count = 3;
|
479
|
How can I display years

axGantt1.Chart.UnitWidth = 64;
EXGANTTLib.Level var_Level = axGantt1.Chart.get_Level(0);
var_Level.Label = "<%yy%>";
var_Level.Unit = EXGANTTLib.UnitEnum.exYear;
|
478
|
How can I display years

axGantt1.Chart.UnitWidth = 48;
axGantt1.Chart.get_Level(0).Label = 0;
|
477
|
How can I display months, from 3 to 3

axGantt1.Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
axGantt1.Chart.LevelCount = 2;
axGantt1.Chart.UnitWidth = 64;
axGantt1.Chart.get_Level(0).Label = 1;
EXGANTTLib.Level var_Level = axGantt1.Chart.get_Level(1);
var_Level.Label = "<%mmmm%>";
var_Level.Unit = EXGANTTLib.UnitEnum.exMonth;
var_Level.Count = 3;
|
476
|
How can I display months

axGantt1.Chart.UnitWidth = 64;
axGantt1.Chart.LevelCount = 2;
axGantt1.Chart.get_Level(0).Label = 1;
EXGANTTLib.Level var_Level = axGantt1.Chart.get_Level(1);
var_Level.Label = "<%mmmm%>/<%yy%>";
var_Level.Unit = EXGANTTLib.UnitEnum.exMonth;
|
475
|
How can I display months

axGantt1.Chart.LevelCount = 2;
axGantt1.Chart.UnitWidth = 64;
axGantt1.Chart.get_Level(0).Label = 1;
axGantt1.Chart.get_Level(1).Label = 16;
|
474
|
How can I display weeks

axGantt1.Chart.LevelCount = 2;
axGantt1.Chart.UnitWidth = 64;
axGantt1.Chart.get_Level(0).Label = 17;
axGantt1.Chart.get_Level(1).Label = 256;
|
473
|
How can I display weeks

axGantt1.Chart.LevelCount = 2;
axGantt1.Chart.get_Level(0).Label = 17;
axGantt1.Chart.get_Level(1).Label = "<%ww%>";
|
472
|
How can I display days, from 2 to 2

axGantt1.Chart.LevelCount = 2;
axGantt1.Chart.get_Level(0).Label = 256;
EXGANTTLib.Level var_Level = axGantt1.Chart.get_Level(1);
var_Level.Label = "<%dd%>";
var_Level.Count = 2;
|
471
|
How can I display days

axGantt1.Chart.LevelCount = 2;
axGantt1.Chart.get_Level(0).Label = 256;
axGantt1.Chart.get_Level(1).Label = "<%dd%>";
|
470
|
How can I display days

axGantt1.Chart.LevelCount = 2;
axGantt1.Chart.get_Level(0).Label = 256;
axGantt1.Chart.get_Level(1).Label = 4096;
|
469
|
How can I display hours, from 6 to 6

axGantt1.Chart.FirstVisibleDate = "00:00";
axGantt1.Chart.LevelCount = 2;
axGantt1.Chart.get_Level(0).Label = 4096;
EXGANTTLib.Level var_Level = axGantt1.Chart.get_Level(1);
var_Level.Label = "<%hh%>";
var_Level.Count = 6;
|
468
|
How can I display hours

axGantt1.Chart.LevelCount = 2;
axGantt1.Chart.get_Level(0).Label = 4096;
axGantt1.Chart.get_Level(1).Label = "<%hh%>";
|
467
|
How can I display hours

axGantt1.Chart.LevelCount = 2;
axGantt1.Chart.get_Level(0).Label = 4096;
axGantt1.Chart.get_Level(1).Label = 65536;
|
466
|
How can I display minutes, from 15 to 15

axGantt1.Chart.FirstVisibleDate = "00:00";
axGantt1.Chart.LevelCount = 2;
axGantt1.Chart.get_Level(0).Label = 65536;
EXGANTTLib.Level var_Level = axGantt1.Chart.get_Level(1);
var_Level.Label = "<%nn%>";
var_Level.Count = 15;
|
465
|
How can I display minutes

axGantt1.Chart.LevelCount = 2;
axGantt1.Chart.get_Level(0).Label = 65536;
axGantt1.Chart.get_Level(1).Label = "<%nn%>";
|
464
|
How can I display minutes

axGantt1.Chart.LevelCount = 2;
axGantt1.Chart.UnitWidth = 64;
axGantt1.Chart.get_Level(0).Label = 65536;
axGantt1.Chart.get_Level(1).Label = 1048576;
|
463
|
How can I display seconds, from 15 to 15

axGantt1.Chart.FirstVisibleDate = "00:00";
axGantt1.Chart.LevelCount = 2;
axGantt1.Chart.get_Level(0).Label = 1048576;
EXGANTTLib.Level var_Level = axGantt1.Chart.get_Level(1);
var_Level.Label = "<%ss%>";
var_Level.Count = 15;
|
462
|
How can I display seconds

axGantt1.Chart.LevelCount = 2;
axGantt1.Chart.get_Level(0).Label = 1048576;
axGantt1.Chart.get_Level(1).Label = "<%ss%>";
|
461
|
How can I display seconds

axGantt1.Chart.LevelCount = 2;
axGantt1.Chart.get_Level(0).Label = 1048576;
axGantt1.Chart.get_Level(1).Label = 16777216;
|
460
|
How can I align the text being shown in the chart's header

axGantt1.Chart.UnitWidth = 64;
EXGANTTLib.Level var_Level = axGantt1.Chart.get_Level(0);
var_Level.Label = "<b><%mmmm%></b> <r><%m%>";
var_Level.Unit = EXGANTTLib.UnitEnum.exMonth;
var_Level.Alignment = EXGANTTLib.AlignmentEnum.LeftAlignment;
|
459
|
How can I hide the tooltip being displayed in the chart's header

axGantt1.Chart.get_Level(0).ToolTip = "";
|
458
|
How can I change the tooltip being displayed in the chart's header

axGantt1.Chart.get_Level(0).ToolTip = "This is a bit of text that's shown when the cursor hovers the level";
|
457
|
How can I change the visual appearance of the chart's header, where levels are displayed, using your EBN files

axGantt1.VisualAppearance.Add(1,"c:\\exontrol\\images\\normal.ebn");
axGantt1.Chart.LevelCount = 2;
axGantt1.Chart.BackColorLevelHeader = 0x1000000;
|
456
|
How can I change the level's foreground color in the chart

axGantt1.Chart.LevelCount = 2;
axGantt1.Chart.get_Level(0).ForeColor = (uint)ColorTranslator.ToWin32(Color.FromArgb(255,0,0));
axGantt1.Chart.get_Level(1).ForeColor = (uint)ColorTranslator.ToWin32(Color.FromArgb(0,0,255));
|
455
|
How can I change the level's background color in the chart

axGantt1.Chart.LevelCount = 2;
axGantt1.Chart.get_Level(0).BackColor = (uint)ColorTranslator.ToWin32(Color.FromArgb(255,0,0));
|
452
|
How can I add icons or pictures to the scale or zoom area

axGantt1.set_HTMLPicture("pic1","c:\\exontrol\\images\\zipdisk.gif");
axGantt1.Images("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTq" +
"lVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m" +
"0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" +
"NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=");
EXGANTTLib.Chart var_Chart = axGantt1.Chart;
var_Chart.OverviewHeight = 48;
var_Chart.OverviewVisible = EXGANTTLib.OverviewVisibleEnum.exOverviewShowAll;
var_Chart.AllowOverviewZoom = EXGANTTLib.OverviewZoomEnum.exZoomOnRClick;
var_Chart.OverviewZoomCaption = "Year|½Year|¼Year|<img>3</img> Week|Third|<img>2</img> Day|<img>pic1</img>|Hour|Min|Sec";
var_Chart.set_Label(EXGANTTLib.UnitEnum.exYear,"");
var_Chart.set_Label(EXGANTTLib.UnitEnum.exHalfYear,"");
var_Chart.set_Label(EXGANTTLib.UnitEnum.exQuarterYear,"");
var_Chart.set_Label(EXGANTTLib.UnitEnum.exThirdMonth,"");
var_Chart.set_Label(EXGANTTLib.UnitEnum.exHour,"");
var_Chart.set_Label(EXGANTTLib.UnitEnum.exMinute,"");
var_Chart.set_Label(EXGANTTLib.UnitEnum.exSecond,"");
var_Chart.OverviewZoomUnit = 52;
axGantt1.Columns.Add("");
EXGANTTLib.Items var_Items = axGantt1.Items;
var_Items.set_CellSingleLine(var_Items.AddItem("Right click the Overview area and select a new scale"),0,EXGANTTLib.CellSingleLineEnum.exCaptionWordWrap);
|
451
|
How can I add icons or pictures to the scale or zoom area

axGantt1.set_HTMLPicture("pic1","c:\\exontrol\\images\\zipdisk.gif");
axGantt1.Images("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTq" +
"lVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m" +
"0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" +
"NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=");
EXGANTTLib.Chart var_Chart = axGantt1.Chart;
var_Chart.OverviewHeight = 48;
var_Chart.OverviewVisible = EXGANTTLib.OverviewVisibleEnum.exOverviewShowAll;
var_Chart.AllowOverviewZoom = EXGANTTLib.OverviewZoomEnum.exAlwaysZoom;
var_Chart.OverviewZoomCaption = "Year|½Year|¼Year|<img>3</img> Week|Third|<img>2</img> Day|<img>pic1</img>|Hour|Min|Sec";
var_Chart.set_Label(EXGANTTLib.UnitEnum.exYear,"");
var_Chart.set_Label(EXGANTTLib.UnitEnum.exHalfYear,"");
var_Chart.set_Label(EXGANTTLib.UnitEnum.exQuarterYear,"");
var_Chart.set_Label(EXGANTTLib.UnitEnum.exThirdMonth,"");
var_Chart.set_Label(EXGANTTLib.UnitEnum.exHour,"");
var_Chart.set_Label(EXGANTTLib.UnitEnum.exMinute,"");
var_Chart.set_Label(EXGANTTLib.UnitEnum.exSecond,"");
var_Chart.OverviewZoomUnit = 52;
|
450
|
How can I change the width of the unit in the scale or zoom

axGantt1.Images("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTq" +
"lVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m" +
"0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" +
"NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=");
EXGANTTLib.Chart var_Chart = axGantt1.Chart;
var_Chart.OverviewVisible = EXGANTTLib.OverviewVisibleEnum.exOverviewShowAll;
var_Chart.AllowOverviewZoom = EXGANTTLib.OverviewZoomEnum.exAlwaysZoom;
var_Chart.OverviewZoomCaption = "Year|½Year|¼Year|<img>3</img>|Third|<img>2</img>|<img>1</img>|Hour|Min|Sec";
var_Chart.set_Label(EXGANTTLib.UnitEnum.exYear,"");
var_Chart.set_Label(EXGANTTLib.UnitEnum.exHalfYear,"");
var_Chart.set_Label(EXGANTTLib.UnitEnum.exQuarterYear,"");
var_Chart.set_Label(EXGANTTLib.UnitEnum.exThirdMonth,"");
var_Chart.set_Label(EXGANTTLib.UnitEnum.exHour,"");
var_Chart.set_Label(EXGANTTLib.UnitEnum.exMinute,"");
var_Chart.set_Label(EXGANTTLib.UnitEnum.exSecond,"");
var_Chart.OverviewZoomUnit = 24;
|
449
|
How can I a scale or zoom of the chart, when right clicking the chart's header

axGantt1.Images("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTq" +
"lVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m" +
"0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" +
"NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=");
EXGANTTLib.Chart var_Chart = axGantt1.Chart;
var_Chart.OverviewVisible = EXGANTTLib.OverviewVisibleEnum.exOverviewShowAll;
var_Chart.AllowOverviewZoom = EXGANTTLib.OverviewZoomEnum.exZoomOnRClick;
var_Chart.OverviewZoomCaption = "Year|½Year|¼Year|<img>3</img>Month|Third|<img>2</img>Week|<img>1</img>Day|Hour|Min|Sec";
var_Chart.set_Label(EXGANTTLib.UnitEnum.exYear,"");
var_Chart.set_Label(EXGANTTLib.UnitEnum.exHalfYear,"");
var_Chart.set_Label(EXGANTTLib.UnitEnum.exQuarterYear,"");
var_Chart.set_Label(EXGANTTLib.UnitEnum.exThirdMonth,"");
var_Chart.set_Label(EXGANTTLib.UnitEnum.exHour,"");
var_Chart.set_Label(EXGANTTLib.UnitEnum.exMinute,"");
var_Chart.set_Label(EXGANTTLib.UnitEnum.exSecond,"");
var_Chart.OverviewZoomUnit = 64;
axGantt1.Columns.Add("");
EXGANTTLib.Items var_Items = axGantt1.Items;
var_Items.set_CellSingleLine(var_Items.AddItem("Right click the Overview area and select a new scale"),0,EXGANTTLib.CellSingleLineEnum.exCaptionWordWrap);
|
448
|
How can I a customize the scale or zoom of the chart

axGantt1.Images("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTq" +
"lVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m" +
"0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" +
"NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=");
EXGANTTLib.Chart var_Chart = axGantt1.Chart;
var_Chart.OverviewVisible = EXGANTTLib.OverviewVisibleEnum.exOverviewShowAll;
var_Chart.AllowOverviewZoom = EXGANTTLib.OverviewZoomEnum.exAlwaysZoom;
var_Chart.OverviewZoomCaption = "Year|½Year|¼Year|<img>3</img>Month|Third|<img>2</img>Week|<img>1</img>Day|Hour|Min|Sec";
var_Chart.set_Label(EXGANTTLib.UnitEnum.exYear,"");
var_Chart.set_Label(EXGANTTLib.UnitEnum.exHalfYear,"");
var_Chart.set_Label(EXGANTTLib.UnitEnum.exQuarterYear,"");
var_Chart.set_Label(EXGANTTLib.UnitEnum.exThirdMonth,"");
var_Chart.set_Label(EXGANTTLib.UnitEnum.exHour,"");
var_Chart.set_Label(EXGANTTLib.UnitEnum.exMinute,"");
var_Chart.set_Label(EXGANTTLib.UnitEnum.exSecond,"");
var_Chart.OverviewZoomUnit = 64;
|
447
|
How can I a scale or zoom the chart at runtime

axGantt1.Images("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTq" +
"lVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m" +
"0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" +
"NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=");
EXGANTTLib.Chart var_Chart = axGantt1.Chart;
var_Chart.OverviewVisible = EXGANTTLib.OverviewVisibleEnum.exOverviewShowAll;
var_Chart.AllowOverviewZoom = EXGANTTLib.OverviewZoomEnum.exAlwaysZoom;
var_Chart.OverviewZoomCaption = "½Year|¼Year|<img>3</img>Month|Third|<img>2</img>Week|<img>1</img>Day|Hour|Min|Sec";
|
446
|
How can I a scale or zoom the chart at runtime

EXGANTTLib.Chart var_Chart = axGantt1.Chart;
var_Chart.OverviewVisible = EXGANTTLib.OverviewVisibleEnum.exOverviewShowAll;
var_Chart.AllowOverviewZoom = EXGANTTLib.OverviewZoomEnum.exAlwaysZoom;
var_Chart.OverviewZoomUnit = 24;
|
445
|
How can I a programmatically select a date
axGantt1.Chart.MarkSelectDateColor = (uint)ColorTranslator.ToWin32(Color.FromArgb(255,0,0));
axGantt1.Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
axGantt1.Chart.set_SelectDate(Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),true);
axGantt1.Chart.set_SelectDate(Convert.ToDateTime("1/5/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),true);
axGantt1.Chart.SelectLevel = 0;
|
444
|
How can I change the color to select a date, when clicking the chart's header
axGantt1.Chart.BackColor = (uint)ColorTranslator.ToWin32(Color.FromArgb(255,255,255));
axGantt1.Chart.MarkSelectDateColor = (uint)ColorTranslator.ToWin32(Color.FromArgb(255,0,0));
|
443
|
How can I enable or disable selecting a date, when clicking the chart's header
axGantt1.Chart.BackColor = (uint)ColorTranslator.ToWin32(Color.FromArgb(255,255,255));
axGantt1.Chart.MarkSelectDateColor = (uint)ColorTranslator.ToWin32(Color.FromArgb(255,255,255));
|
442
|
How can I specify the color or the stype for non working hours

axGantt1.Chart.UnitScale = EXGANTTLib.UnitEnum.exHour;
axGantt1.Chart.set_PaneWidth(false,0);
axGantt1.Chart.NonworkingHours = 127;
axGantt1.Chart.NonworkingHoursPattern = EXGANTTLib.PatternEnum.exPatternYard;
axGantt1.Chart.NonworkingHoursColor = (uint)ColorTranslator.ToWin32(Color.FromArgb(255,0,0));
|
441
|
How can I specify the pattern or the stype for non working hours

axGantt1.Chart.UnitScale = EXGANTTLib.UnitEnum.exHour;
axGantt1.Chart.set_PaneWidth(false,0);
axGantt1.Chart.NonworkingHours = 127;
axGantt1.Chart.NonworkingHoursPattern = EXGANTTLib.PatternEnum.exPatternDiagCross;
|
440
|
How can I specify the non working hours

axGantt1.Chart.UnitScale = EXGANTTLib.UnitEnum.exHour;
axGantt1.Chart.set_PaneWidth(false,0);
axGantt1.Chart.NonworkingHours = 127;
|
439
|
How can I get the index of the level from the point or cursor
int var_LevelFromPoint = axGantt1.Chart.get_LevelFromPoint(0,0);
|
438
|
How can I get the link from the point or cursor
object var_LinkFromPoint = axGantt1.Chart.get_LinkFromPoint(0,0);
|
437
|
How can I check or verify if a date is a non working day
axGantt1.Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
axGantt1.Columns.Add(axGantt1.Chart.get_IsNonworkingDate(Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US"))).ToString());
|
436
|
How can I check or verify if a date fits the chart's visible area
axGantt1.Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
axGantt1.Columns.Add(axGantt1.Chart.get_IsDateVisible(Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US"))).ToString());
|
435
|
How can I add a remove all non working days
axGantt1.Chart.NonworkingDays = 0;
axGantt1.Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
axGantt1.Chart.AddNonworkingDate(Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
axGantt1.Chart.ClearNonworkingDates();
|
434
|
How can I add a remove a non working days
axGantt1.Chart.NonworkingDays = 0;
axGantt1.Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
axGantt1.Chart.AddNonworkingDate(Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
axGantt1.Chart.RemoveNonworkingDate(Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
|
433
|
How can I add a custom non working days

axGantt1.Chart.NonworkingDays = 0;
axGantt1.Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
axGantt1.Chart.AddNonworkingDate(Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
axGantt1.Chart.AddNonworkingDate(Convert.ToDateTime("1/5/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
|
432
|
How can hide the non working days
axGantt1.Chart.ShowNonworkingDates = false;
|
431
|
How can hide the non working days
axGantt1.Chart.NonworkingDays = 0;
|
430
|
How can I change the width of the links between bars

axGantt1.Chart.LinksStyle = EXGANTTLib.LinkStyleEnum.exLinkSolid;
axGantt1.Chart.LinksWidth = 2;
axGantt1.Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
axGantt1.Columns.Add("Column");
EXGANTTLib.Items var_Items = axGantt1.Items;
var_Items.AddBar(var_Items.AddItem("Item 1"),"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"B1",null);
var_Items.AddBar(var_Items.AddItem("Item 2"),"Task",Convert.ToDateTime("1/6/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/14/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"B2",null);
var_Items.AddLink("L1",var_Items.get_FindItem("Item 1",0,null),"B1",var_Items.get_FindItem("Item 2",0,null),"B2");
|
429
|
How can I change the style for the links between bars

axGantt1.Chart.LinksStyle = EXGANTTLib.LinkStyleEnum.exLinkDashDotDot;
axGantt1.Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
axGantt1.Columns.Add("Column");
EXGANTTLib.Items var_Items = axGantt1.Items;
var_Items.AddBar(var_Items.AddItem("Item 1"),"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"B1",null);
var_Items.AddBar(var_Items.AddItem("Item 2"),"Task",Convert.ToDateTime("1/6/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/14/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"B2",null);
var_Items.AddLink("L1",var_Items.get_FindItem("Item 1",0,null),"B1",var_Items.get_FindItem("Item 2",0,null),"B2");
|
428
|
How can I change the color for the links between bars

axGantt1.Chart.LinksColor = (uint)ColorTranslator.ToWin32(Color.FromArgb(255,0,0));
axGantt1.Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
axGantt1.Columns.Add("Column");
EXGANTTLib.Items var_Items = axGantt1.Items;
var_Items.AddBar(var_Items.AddItem("Item 1"),"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"B1",null);
var_Items.AddBar(var_Items.AddItem("Item 2"),"Task",Convert.ToDateTime("1/6/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/14/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"B2",null);
var_Items.AddLink("L1",var_Items.get_FindItem("Item 1",0,null),"B1",var_Items.get_FindItem("Item 2",0,null),"B2");
|
427
|
How can I hide the links between bars
axGantt1.Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
axGantt1.Columns.Add("Column");
EXGANTTLib.Items var_Items = axGantt1.Items;
var_Items.AddBar(var_Items.AddItem("Item 1"),"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"B1",null);
var_Items.AddBar(var_Items.AddItem("Item 2"),"Task",Convert.ToDateTime("1/6/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/14/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"B2",null);
var_Items.AddLink("L1",var_Items.get_FindItem("Item 1",0,null),"B1",var_Items.get_FindItem("Item 2",0,null),"B2");
axGantt1.Chart.ShowLinks = false;
|
426
|
How can I display some grid line in the overview area

axGantt1.Chart.OverviewVisible = EXGANTTLib.OverviewVisibleEnum.exOverviewShowAll;
axGantt1.Chart.OverviewLevelLines = 0;
axGantt1.Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
axGantt1.Columns.Add("Column");
EXGANTTLib.Items var_Items = axGantt1.Items;
var_Items.AddBar(var_Items.AddItem("Item 1"),"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
var_Items.AddBar(var_Items.AddItem("Item 1"),"Task",Convert.ToDateTime("1/6/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/14/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
|
425
|
How do I change the tooltip when the cursor hovers the overview area

axGantt1.Chart.OverviewVisible = EXGANTTLib.OverviewVisibleEnum.exOverviewShowAll;
axGantt1.Chart.OverviewToolTip = "Tooltip on the overview";
axGantt1.Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
axGantt1.Columns.Add("Column");
EXGANTTLib.Items var_Items = axGantt1.Items;
var_Items.AddBar(var_Items.AddItem("Item 1"),"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
var_Items.AddBar(var_Items.AddItem("Item 1"),"Task",Convert.ToDateTime("1/6/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/14/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
|
424
|
How do I remove the tooltip when the cursor hovers the overview area
axGantt1.Chart.OverviewVisible = EXGANTTLib.OverviewVisibleEnum.exOverviewShowAll;
axGantt1.Chart.OverviewToolTip = "";
axGantt1.Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
axGantt1.Columns.Add("Column");
EXGANTTLib.Items var_Items = axGantt1.Items;
var_Items.AddBar(var_Items.AddItem("Item 1"),"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
|
423
|
How do I change the selection color in the overview area

axGantt1.Chart.OverviewVisible = EXGANTTLib.OverviewVisibleEnum.exOverviewShowAll;
axGantt1.Chart.OverviewSelBackColor = (uint)ColorTranslator.ToWin32(Color.FromArgb(255,0,0));
axGantt1.Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
axGantt1.Columns.Add("Column");
EXGANTTLib.Items var_Items = axGantt1.Items;
var_Items.AddBar(var_Items.AddItem("Item 1"),"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
|
422
|
How do I change the background color for the overview area

axGantt1.Chart.OverviewVisible = EXGANTTLib.OverviewVisibleEnum.exOverviewShowAll;
axGantt1.Chart.OverviewBackColor = (uint)ColorTranslator.ToWin32(Color.FromArgb(255,0,0));
axGantt1.Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
axGantt1.Columns.Add("Column");
EXGANTTLib.Items var_Items = axGantt1.Items;
var_Items.AddBar(var_Items.AddItem("Item 1"),"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
|
421
|
How do I specify the height for the overview area

axGantt1.Chart.OverviewVisible = EXGANTTLib.OverviewVisibleEnum.exOverviewShowAll;
axGantt1.Chart.OverviewHeight = 16;
axGantt1.Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
axGantt1.Columns.Add("Column");
EXGANTTLib.Items var_Items = axGantt1.Items;
var_Items.AddBar(var_Items.AddItem("Item 1"),"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
|
420
|
How do I show or hide the control's overview area

axGantt1.Chart.OverviewVisible = EXGANTTLib.OverviewVisibleEnum.exOverviewShowAll;
axGantt1.Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
axGantt1.Columns.Add("Column");
EXGANTTLib.Items var_Items = axGantt1.Items;
var_Items.AddBar(var_Items.AddItem("Item 1"),"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
|
419
|
How do I get the bar from the point or cursor
object var_BarFromPoint = axGantt1.Chart.get_BarFromPoint(0,0);
|
418
|
How do I specify the color of pattern for non working days

axGantt1.Chart.NonworkingDays = 66;
axGantt1.Chart.NonworkingDaysPattern = EXGANTTLib.PatternEnum.exPatternVertical;
axGantt1.Chart.NonworkingDaysColor = (uint)ColorTranslator.ToWin32(Color.FromArgb(255,0,0));
|
417
|
How do I specify the type of pattern for non working days

axGantt1.Chart.NonworkingDays = 66;
axGantt1.Chart.NonworkingDaysPattern = EXGANTTLib.PatternEnum.exPatternBrick;
|
416
|
How do I specify the non working days

axGantt1.Chart.NonworkingDays = 66;
|
415
|
How do I specify the non working days
axGantt1.Chart.NonworkingDays = 66;
|
414
|
How do I add a predefined bar

axGantt1.Chart.Bars.Add("CustomBar").Color = (uint)ColorTranslator.ToWin32(Color.FromArgb(255,0,0));
axGantt1.Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
axGantt1.Columns.Add("Column");
EXGANTTLib.Items var_Items = axGantt1.Items;
var_Items.AddBar(var_Items.AddItem("Item 1"),"CustomBar",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
|
413
|
How do I change the unit being displayed in the chart

axGantt1.Chart.set_PaneWidth(false,0);
axGantt1.Chart.UnitScale = EXGANTTLib.UnitEnum.exWeek;
axGantt1.Chart.UnitWidth = 64;
|
412
|
How do I specify the prodefined tooltip being shown on the chart's header, when Zoom method is used

axGantt1.Chart.set_PaneWidth(false,0);
axGantt1.Chart.LevelCount = 2;
axGantt1.Chart.set_Label(EXGANTTLib.UnitEnum.exHalfYear,"");
axGantt1.Chart.set_Label(EXGANTTLib.UnitEnum.exQuarterYear,"");
axGantt1.Chart.set_Label(EXGANTTLib.UnitEnum.exMonth,"<%m3%>");
axGantt1.Chart.set_LabelToolTip(EXGANTTLib.UnitEnum.exMonth,"Tooltip: <%mmmm%>");
axGantt1.Chart.Zoom(Convert.ToDateTime("1/1/2007",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/1/2008",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null);
axGantt1.Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2007",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
|
411
|
How do I specify the prodefined labels being displayed on the chart, when Zoom method is used

axGantt1.Chart.set_PaneWidth(false,0);
axGantt1.Chart.LevelCount = 2;
axGantt1.Chart.set_Label(EXGANTTLib.UnitEnum.exHalfYear,"");
axGantt1.Chart.set_Label(EXGANTTLib.UnitEnum.exQuarterYear,"");
axGantt1.Chart.set_Label(EXGANTTLib.UnitEnum.exMonth,"<%m3%>");
axGantt1.Chart.Zoom(Convert.ToDateTime("1/1/2007",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/1/2008",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null);
axGantt1.Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2007",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
|
410
|
How do I scale or zoom the chart to a specified range of date
axGantt1.Chart.set_PaneWidth(false,0);
axGantt1.Chart.LevelCount = 2;
axGantt1.Chart.set_Label(EXGANTTLib.UnitEnum.exHalfYear,"");
axGantt1.Chart.set_Label(EXGANTTLib.UnitEnum.exQuarterYear,"");
axGantt1.Chart.set_Label(EXGANTTLib.UnitEnum.exMonth,"<%m3%>");
axGantt1.Chart.Zoom(Convert.ToDateTime("1/1/2007",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/1/2008",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null);
axGantt1.Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2007",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
|
409
|
How do I scale or zoom the chart to a specified range of date
axGantt1.Chart.set_PaneWidth(false,0);
axGantt1.Chart.LevelCount = 2;
axGantt1.Chart.Zoom(Convert.ToDateTime("1/1/2007",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("7/1/2007",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null);
axGantt1.Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2007",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
|
408
|
How do I find the next date or previous date
EXGANTTLib.Chart var_Chart = axGantt1.Chart;
var_Chart.FirstVisibleDate = var_Chart.get_NextDate(Convert.ToDateTime("1/1/2002",System.Globalization.CultureInfo.GetCultureInfo("en-US")),EXGANTTLib.UnitEnum.exDay,1);
|
407
|
How can I change the color for the grid lines in the chart

axGantt1.Chart.DrawGridLines = EXGANTTLib.GridLinesEnum.exAllLines;
axGantt1.Chart.LevelCount = 2;
EXGANTTLib.Level var_Level = axGantt1.Chart.get_Level(1);
var_Level.DrawGridLines = true;
var_Level.GridLineColor = (uint)ColorTranslator.ToWin32(Color.FromArgb(255,0,0));
|
406
|
How can I draw, show or hide the grid lines in the chart

axGantt1.Chart.DrawGridLines = EXGANTTLib.GridLinesEnum.exAllLines;
axGantt1.Chart.LevelCount = 2;
axGantt1.Chart.get_Level(1).DrawGridLines = true;
|
405
|
How do I change the color to highlight the today in the chart

axGantt1.Chart.MarkTodayColor = (uint)ColorTranslator.ToWin32(Color.FromArgb(255,0,0));
|
404
|
How do I hide or stop highlighting the today area in the chart
axGantt1.Chart.BackColor = (uint)ColorTranslator.ToWin32(Color.FromArgb(255,255,255));
axGantt1.Chart.MarkTodayColor = (uint)ColorTranslator.ToWin32(Color.FromArgb(255,255,255));
|
403
|
Is there any function to get the date in the format that I use for levels, to layout my chart's header
string h = axGantt1.Chart.get_FormatDate(Convert.ToDateTime("1/1/2002",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"<%yyyy%> <%mmmm%> <%d%> <%dddd%>");
axGantt1.Columns.Add(h.ToString());
|
402
|
How can I get the date from the point, cursor
// MouseMove event - Occurs when the user moves the mouse.
private void axGantt1_MouseMoveEvent(object sender, AxEXGANTTLib._IGanttEvents_MouseMoveEvent e)
{
System.Diagnostics.Debug.Print( axGantt1.Chart.get_DateFromPoint(-1,-1).ToString() );
}
//this.axGantt1.MouseMoveEvent += new AxEXGANTTLib._IGanttEvents_MouseMoveEventHandler(this.axGantt1_MouseMoveEvent);
|
401
|
How can I show or hide the small ticker that shows up when the cursor hovers the chart area
axGantt1.Chart.DrawDateTicker = false;
|